package com.jrx.anytxn.customer.dto.bankcardinfo;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * 银行卡列表查询的银行卡列表响应信息
 *
 * @author yf
 * date 2019/10/31 0031
 * @version V1.0
 **/
public class BankCardRes implements Serializable {

    private static final long serialVersionUID = -6474581759285500790L;

    /*
     * 卡号映射编号
     */
    private String cardId;

    /*
     * 卡号映射编号
     */
    private String cardNumber;
    /**
     *  银行卡名称
     */
    private String bankName;

    /*
     *银行卡号（后四位）
     */
    private String cardNoLast;

    /*
     *默认还款银行卡标识
     */
    private String defaultPaymentCard;

    /*
     *默认收款银行卡标识
     */
    private String defaultLoanCard;

    /*
     *卡类型
     */
    private  String cardType;
    /**
     * 银行预留手机号
     */
    private String mobile;

    /*
     *开户银行
     */
    private String bankId;

    /**
     * 协议号
     */
    private String contractId;

    /**
     * 创建时间
     * 表字段:create_time
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    public String getCardId() {
        return cardId;
    }

    public void setCardId(String cardId) {
        this.cardId = cardId;
    }

    public String getCardNoLast() {
        return cardNoLast;
    }

    public void setCardNoLast(String cardNoLast) {
        this.cardNoLast = cardNoLast;
    }

    public String getDefaultPaymentCard() {
        return defaultPaymentCard;
    }

    public void setDefaultPaymentCard(String defaultPaymentCard) {
        this.defaultPaymentCard = defaultPaymentCard;
    }

    public String getDefaultLoanCard() {
        return defaultLoanCard;
    }

    public void setDefaultLoanCard(String defaultLoanCard) {
        this.defaultLoanCard = defaultLoanCard;
    }

    public String getCardType() {
        return cardType;
    }

    public void setCardType(String cardType) {
        this.cardType = cardType;
    }

    public String getBankId() {
        return bankId;
    }

    public void setBankId(String bankId) {
        this.bankId = bankId;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public String getCardNumber() {
        return cardNumber;
    }

    public void setCardNumber(String cardNumber) {
        this.cardNumber = cardNumber;
    }

    public String getBankName() {
        return bankName;
    }

    public void setBankName(String bankName) {
        this.bankName = bankName;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getContractId() {
        return contractId;
    }

    public void setContractId(String contractId) {
        this.contractId = contractId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}
